import java.util.Comparator;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 19182
 * Date: 2025-07-03
 * Time: 21:38
 */
public class AgeComparator implements Comparator<student> {
    @Override
    public int compare(student o1, student o2) {
        return o2.age - o1.age;
    }
}
